Platform Explorer / Nuxeo Platform 5.8

Contribution org.nuxeo.ecm.user.center.urlservice--codecs

This contribution is part of XML component org.nuxeo.ecm.user.center.urlservice inside nuxeo-user-center-5.8.jar

Documentation

The user codec uses the given username to select and display a user. Urls are of the form http://site/nuxeo/user/username(/view).

The view is optional, and defaults to view_home if not present.

Extension Point

Extension point codecs of component DocumentViewCodecService.

Contributed Items

  • <documentViewCodec class="org.nuxeo.ecm.platform.url.codec.DocumentPathCodec" default="false" enabled="true" name="docpathhome" prefix="nxhome"/>
  • <documentViewCodec class="org.nuxeo.ecm.user.center.UserCodec" default="false" enabled="true" name="user" prefix="user"/>

XML Source

<extension point="codecs" target="org.nuxeo.ecm.platform.url.service.DocumentViewCodecService">

    <documentViewCodec class="org.nuxeo.ecm.platform.url.codec.DocumentPathCodec" default="false" enabled="true" name="docpathhome" prefix="nxhome"/>

    <documentation>
      The user codec uses the given username to select and display a user.
      Urls are of the form http://site/nuxeo/user/username(/view).

      The view is optional, and defaults to view_home if not present.
    </documentation>
    <documentViewCodec class="org.nuxeo.ecm.user.center.UserCodec" default="false" enabled="true" name="user" prefix="user"/>

  </extension>